How can I get a sliding effect when I show or hide a panel ?

Hello,
I would like to get by an easy way a sliding effect when I hide and show a panel, like this :

http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_slide_toggle

I tried with “animator addon” (version 2), I don’t know how can I do this effect with it and this addon is not stable maturity…

Thank for your help

I did that by creating a little extension (“wrapper jquery”) , I think it will be good if vaadin has this type of functionality in native…