the ball is now moving back and forth