add paging to search results page
common paging template