made category pages generic