add paging to search view