Moving the ball according to keypress