Add pagination
Merge pull request #484 from allenzhao/categorylist

Add pagination to category list; Fix #482