wraps tab contents inside a panel for horizontal scrolling