title: Jquery ScrollTo issue
body: <p>I am using Jquery ScrollTo so that when I click a question at the top of the page  it will scroll to the question and answer further down the screen. This function works ok ( To a point)</p>
  
  <p>Now when I click to a question that is say halfway down the page it will scroll and my navbar will overlap half of the question ( i am using twitter bootstrap fixed navbar)</p>
  
  <p>The second issue is that when I click Top ( should scroll back to top of page) the first 3 questions are overlapped by the navbar.</p>
  
  <p>If I remove the fixed from the navbar then it all works OK but i would prefer to keep the navbar fixed</p>
  
  <p>My code is as follows</p>
  
  <p>View</p>
  
  <pre><code>&lt;div class="links"&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;ul class="top_links"&gt; 
  
      &lt;li&gt;&lt;a href="#1a"&gt;Question 1&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#1b"&gt; Question 2&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#1c"&gt; Question 3&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#1d"&gt;Question 4&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="#1e"&gt;Question 5&lt;/a&gt;&lt;/li&gt;
  
  &lt;/ul&gt;
  
      &lt;/div&gt;
      &lt;ul class="faq"&gt;
  &lt;li&gt;&lt;a name="1a"&gt;&lt;/a&gt;&lt;span class="question"&gt;Q: Question 1&lt;/span&gt;&lt;span        class="answer"&gt;Follow the link marked join which will take you to the relevant section.We review each application for membership and aim to let you know within qo working days.&lt;/span&gt;&lt;div class="top"&gt;&lt;a href="#top"&gt;Top ^&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
  
  &lt;li&gt;&lt;a name="1b"&gt;&lt;/a&gt;&lt;span class="question"&gt;Q:Question 2&lt;/span&gt;&lt;span class="answer"&gt;A:  Follow the link marked Forensic Odontologist list which will take you to the page where Odontologists are listed by region with full contact details..&lt;/span&gt;&lt;div class="top"&gt;&lt;a href="#top"&gt;Top ^&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
  
  &lt;li&gt;&lt;a name="1c"&gt;&lt;/a&gt;&lt;span class="question"&gt;Q: Question 3&lt;/span&gt;&lt;span class="answer"&gt;A: Unfortunately the subject is case dependent, which cannot be predicted. It is not a full time discipline. For this reason it is generally not possible to shadow an Odontologist - sorry.&lt;/span&gt;&lt;div class="top"&gt;&lt;a href="#top"&gt;Top ^&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
  
  &lt;li&gt;&lt;a name="1d"&gt;&lt;/a&gt;&lt;span class="question"&gt;Q: Question 4&lt;/span&gt;&lt;span class="answer"&gt;A: You should look at the available courses by following the link marked courses and then contact the particular institution directly and not through BAFO.&lt;/span&gt;&lt;div class="top"&gt;&lt;a href="#top"&gt;Top ^&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
  
  &lt;li&gt;&lt;a name="1e"&gt;&lt;/a&gt;&lt;span class="question"&gt;Q:Question 5&lt;/span&gt;&lt;span        class="answer"&gt;A: Nunc non orci eget odio suscipit rutrum. Nullam quam neque, tempus at, semper in, semper eu, mi. Nulla eu turpis vitae arcu sagittis iaculis. Fusce ut nunc vel ligula convallis vulputate. Aliquam feugiat dui in risus. Sed hendrerit. Praesent mollis, ligula imperdiet viverra faucibus, diam turpis ullamcorper ipsum, eget posuere velit tellus et turpis. Vivamus facilisis est nec libero. Phasellus at velit. Vivamus sed mauris.&lt;/span&gt;&lt;div class="top"&gt;&lt;a href="#top"&gt;Top ^&lt;/a&gt;&lt;/div&gt;&lt;/li&gt;
  </code></pre>
  
  <p></p>
  
  <p>Jquery</p>
  
  <pre><code>$(document).ready(function () {
  $.localScroll();
  $(".top_links &gt; li &gt; a").click(function () {
      $(".faq &gt; li").removeClass('highlight');
  
      var str = $(this).attr("href");
      str = "a[name='" + str.substring(1) + "']";
      $(str).parent().addClass('highlight');
  
  
  });
  </code></pre>
  
  <p>});</p>
  
  <p>Im hoping that this is enough information to go on. If any one can make any suggestions then they will be greatly appreciated </p>
  
  <p>Example is here <a href="http://jsfiddle.net/richlewis14/YsK29/" rel="nofollow">http://jsfiddle.net/richlewis14/YsK29/</a>  ( apologies for the massive css but using bootstrap)</p>