Now that .toggle() has been removed from jQuery, I'm stuck on a particular script:
jQuery("#cornerBtn").click(function(e) {
	jQuery("#overlayContainer").slideToggle(500, "swing", function() {
		jQuery("#overlay .box").fadeIn();
This works fine. But when the button is clicked again -- I need the #overlay .box DIV to fade out BEFORE the slideToggle is triggered again.

In the past, I would have just used .toggle() and created two sets of functions. Any recommendations?

Thank you for your help.