Add results pages and pagination.