moves a ball using arrow keys