Prevent tab buttons from scrolling with tab

Prevent tab buttons from scrolling with tab

I have a tabbed portion of my GUI that works just fine, but I cannot find a way to keep the tab buttons from scrolling with the data (if the data in a tab is too large to display)

My code follows the example here almost exactly. If you go to the bottom of that page, make your browser small enough to create scroll bars...as you can see the tabs scroll out of view.  Does anyone know how to keep them visible?  I can't pull them out to their own div or the tabs no longer work (they are all on and the buttons act more like a jump to that container).  I just want the scrolling to happen within the tab and not with the tab itself.