output subcategories of selected category with parent category