Add pagination to category