Search history with up/down buttons