fix #1489396 - make home/end key behavior consistent

Makes the home/end keys behave like every other mechanism for selecting
records. Specifically fixes issue where holding ctrl and pressing Home (or end) would select all messages, which is not what should happen.