moving cursor under insert mode