adding category tree view