check for empty subcategory for left menu and style for all inner pages