Added bouncing off walls for the ball.