hide sub headings when appropriate