add pagination for all categories