Move cursor to the end of word if not moved