Added paging for the search result page.