Better pad collisions

Added more sophisticated pad collision handler - it changes the x
velocity of the ball, if the pad was hit near its edge.