correct direction when moving the ball