moving cursor to edit string