title: Jquery close toggle when other toggle is open
body: <p>I have two sliding panels, panel1 is sliding down, while panel2 is sliding from left. I want to close panel1 when opening panel2. I know there's many similar question already been answered but I couldn't figure it out how do I apply those in my site.</p>
  
  <pre><code>$(document).ready(function(){
    $(".slide-btn1").click(function(){
      $("#panel1").toggle("slow");
      $(this).toggleClass("active");
      return false;
    });
    $(".slide-btn2").click(function(){
      $("#panel2").slideToggle("slow");
      $(this).toggleClass("active");
      return false;
    });
  });
  </code></pre>
  
  <p>Edit: this is what I have done so far <a href="http://jsfiddle.net/Pukau/9CFgR/2/" rel="nofollow">http://jsfiddle.net/Pukau/9CFgR/2/</a></p>