disable next page button when no more results