Added pagination to search results page.