reverse search on key up/down arrow