put cursor at the end of text in searchbox