Wired up the categories to the category view