Add pagination to category view