making the ball bounce