added pagination to the top of the search results list