added page number search functionality