make the ball move back and forth instead of disappearing