Set category page and pagination