Creates a tab / accordion system based on the available width needs CSS to swap viewable sections based on media query to avoid heavy window resize event putting display:none !important; and display:block !important; on the tab display container