search thru history with up and down