set content of a tab to display:none from start; otherwise they appear in some browsers when resizing the window