reformats categorical pages