This happens to mine whenever I've been gone for a bit and come back. It's like you scared the crap out of them and they instinctively try to flee....SMACK!!! into the glass. Try backing off and making sure the room light is on before approaching the tank. Get your hands back in the tank, let em know you're back. Have you done any waterchanges yet?