making paging delegate smarted about total items