Need your help regarding jQuery UI tabs

Need your help regarding jQuery UI tabs

Hello,

My name is Aamir (mostly on #jquery and ot). I have created jquery scrollable tabs  http://jquery.aamirafridi.com/jst/ using jquery 1.4 and jQuery UI 1.8.1. It worked as you can see but for your ease I have create a quick demo page:


When you updgrate jQuery to 1.5 it still work so nothing wrong with jQuery 1.5 but jQuery UI 1.8.9 is not happy with this and it breaks the plugin.


All i want is to wrap the <li>s of tabs titles and than scroll the tabs. Any idea how can i fix or if you check the code and the wrap stuff i did and tell me a better alternative. I am trying release a newer version but I am really strucked and cannot move forward. 

-- 
Aamir Afridi
www.aamirafridi.com

Front-end developer,
Astun Technology