adjusting display of subcategories