add paging to the search results