jQuery(document).ready(function(){

    //Hide (Collapse) the toggle containers on load
    jQuery("#sidebar .widget-container").hide(); 

    //Switch the "Open" and "Close" state per click then slide up/down (depending on open/close state)
    jQuery("#sidebar h2.widget-title").click(function(){
        jQuery(this).toggleClass("active").next().slideToggle("slow");
    });
});
