set caret at the end of title