resolved issue with displaying thousands of pages
Merge pull request #61 from primeinc/patch-pagination

resolved issue with displaying thousands of pages