open and close or return if already open nav
<p>I have a nav which on a click i expand it, but if it's already expanded and we click on the item again it shouldn't do anything (return). I have this code but it is not working properly, currently if I click on the item it expands it but if i click again it closes the nav and if i click once again it expands it but it behaves funny. I basically only need to be able to click and open and do nothing if already opened as I will have a close button anyway.
p.s. "item" is a var i defined before in the code.</p>

<pre><code>var item = $(".nav a");
&lt;div class="nav"&gt;
    &lt;a href="#"&gt;Trigger&lt;/a&gt;
    &lt;div class="wrapSubContent"&gt;
         &lt;div class="wrapNavtoShowHide"&gt;
            ..content..
         &lt;/div&gt;
     &lt;/div&gt;
&lt;/div&gt;

item.click(function(e) {
    e.preventDefault();
    $(".wrapSubContent").slideToggle("slow", "linear", function(){
        $(".wrapNavtoShowHide").slideToggle("slow", "linear");
    });
});
</code></pre>

<p>Anyone?</p>
