Press space key to toggle movement