fixed the platform movement so it is smoother, the ball still moves to
the corners immediately and the collision detection for the platform
doesn’t work