add paging to search results