Added pagination on the search results page