build category page