history search with page up/down