I created a ball that is a div and I\'m trying to move it as I\'m changing the device orientation but I\'m not sure what went wrong in my code. How to move the ball changing