Fix the table headers when the tabs are toggled