added tree view to categories