disable pager when items number is less than the page size