removing blog post accordion if no sub category is present