Adds the function to make the ball bounce (I still have to check what
happens on orientationChange)
Add the function that make the ball bouncing