jquery + resize + hidden div

jquery + resize + hidden div

 Hello,

Have trouble with jquery + jquery ui + hidden div in code. Please see attachment.

The page have form with resizable textarea in div. The customer can hide or unhide this form. All work great.

But if I hide div after page load (uncomment line 18), code do not work. I see only blank page without any textarea, unhide don't show text area/


P.S. sorry for my bad english