add search with up and down arrows