You could use [`slideToggle`](http://api.jquery.com/slideToggle/) here I think.

>  If the element is initially displayed, it will be hidden; if hidden, it will be shown.