reset caret position in search text field