paginating doctors search