JQuery Accordion Button - remove flicker on page refresh
<p>I have a simple JQuery Accordion menu with Section names in my 'accordionButton' div and navigation links in my 'accordionContent' div. The navigation links each append a new <code>?page_id=n</code> to the URL.</p>

<p>The problem is that when a user clicks to a new link within my menu, the whole accordionContent section slides up and then back down. Switching between sections (clicking the accordionButton) does not cause this to happen. </p>

<p>How do I fix this? Code here:</p>

<pre><code>    $(document).ready(function() {
         $('div.accordionButton.selected').next().show();

         //ACCORDION BUTTON ACTION  
         $('div.accordionButton').click(function() {

         $('div.accordionContent').slideUp('normal');   
         $(this).next().slideDown('normal');
         $('div.accordionButton').removeClass('selected');
         $(this).addClass('selected');  
         });
     });
</code></pre>
