add paging to search page