Fixed bug where all tabs showed on first page load.