modify panel to show parent categories and respective subcategories