apply paging for category page