got css working but cannot get next page to not appear when there are no more results