fix error on resize panel with jQueryUI 1.9