fixed moving position of cursor by pressing <ctrl> [<left>|<right>]