fix error on resize panel with jQueryUI 1.9
Merge branch '2.x' into 2.1