Modify navigation. Move only one direction at each mouse movement.