title: accordion issue to open first one automatically
body: <p>i want that the first  tab  should expand automatically mean when i refresh my page the first tab should expand like 
  General (top header)(-)<br>
  lorem ipsum (-)<br>
  lorem ipsum doller amu site amu doller </p>
  
  <p>lorem ipsum (+)<br>
  lorem ipsum (+)<br>
  lorem ipsum (+)<br>
  lorem ipsum (+)</p>
  
  <p>......please any one can help....</p>
  
  <p>script is</p>
  
  <pre><code>$(document).ready(function() {
              //Initialising Accordion
              $(".accordion").tabs(".pane", {
                  tabs: '&gt; h2',
                  effect: 'slide',
                  initialIndex: null
              });
  
              //The click to hide function
              $(".accordion &gt; h2").click(function() {
                  if ($(this).hasClass("current") &amp;&amp; $(this).next().queue().length === 0) {
                      $(this).next().slideUp();
                      $(this).removeClass("current");
                  } else if (!$(this).hasClass("current") &amp;&amp; $(this).next().queue().length === 0) {
                      $(this).next().slideDown();
                      $(this).addClass("current");
                  }
              });
          });
  </code></pre>
  
  <p>and html is </p>
  
  <pre><code> &lt;div class="accordion"&gt;
          &lt;h2 style="background-color: #007194; text-align: center;   padding: 0;font-family: 'Raleway',sans-serif;text-transform: uppercase;font-weight: normal;"&gt;&lt;span style="font-size: 40px;"&gt;&lt;/span&gt;&lt;?php echo "$value";?&gt; &lt;span&gt; FAQS &lt;/span&gt;&lt;/h2&gt;
  
         &lt;div class="pane"&gt;
              &lt;div class="accordion"&gt;
          &lt;?php 
  
             while($row=mysqli_fetch_array($ret))    
              {
                  echo "&lt;h2&gt; ".$row['question']."&lt;/h2&gt;";
                  echo "&lt;div class='pane'&gt;&lt;div class='accordion'&gt;&lt;p&gt;".$row['answer']."&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;";
  
              }
        ?&gt;
  
          &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>