ensure end of line is selected when moving thru history