[jQuery] I am trying to fire functions for ui tabs before the show callback

[jQuery] I am trying to fire functions for ui tabs before the show callback


Right now in this code it fires the hide(); after it has shown. So it
flickers.
And I do not seem to find a hide callback.
Should I use a different system of tabs in the case that it can not do
this?
If so do you have any suggestions?
http://www.pastie.org/315865
$("#gallery2").tabs({
fx: {
opacity: "toggle", duration: 300
},
show: function() {
var seeThis = $(this).parent().find("p.title-text")
$(seeThis).hide();
$(seeThis).slideDown();
//alert('onShow');
}
}).tabs('rotate', 3000);