hide header classes when theres nothing to show