Whoops, should have hidden the tabs not the pages.