move cursor when deleting eol