Problem with UI Tabs

Problem with UI Tabs

Hey guys, 
first post here and awesome forum!

I've got an issue with UI Tabs. My web application generates the tab list dinamically and mosto of the times i,ve got more tabs than the container's width can hold.
By this moment i still haven't found any way to solve this. I tought of sth like placing the tabs(only the tabs - place where you click) inside a simple scrollbar slider using the tabtemplate with divs but it didn't work.

Another, "maybe BUG" is that the selected tab "doesn't accept" any other tab under it and pushes the other tabs to the right and down depending on the amount of tabs.

As a test case you can create the tabs conponent with, for example, 20 tabs and you'll see it broken. What I need is to somehow have a slider that keeps the tabs navigation in one line and scrolls the div where the tabs are.

Hope you can help.
Thx in advance.

Bruno Couto.