pagination is working for browsing, searching doctors.