wrapped sticky header call in tab switcher inside an if to make sure sticky headers exist.