modified cursor movement in control-lock