add pagination to search list