Re-implementation of jQuery.slideToggle JS animation. You can reverse the direction before the movement completes.