add configurable paging size

closes #1032