add paging for collections (REV-670)