category pages now work including pagination