title: Navigation Bar won't collapse
body: <p>After clicking on the icon the navigation menu expands, after selecting an item it brings me to the correct section but doesn't collapse.</p>
  
  <p>Sorry I wasn't sure how much more code I should add I'll work on what you gave me and strip out the other stuff so I can submit more of it later on.</p>
  
  <p>Thanks in advance for your help.</p>
  
  <pre><code>&lt;body data-spy="scroll" data-offset="0" data-target="#navbar-main"&gt;
    &lt;div id="navbar-main"&gt;
      &lt;!-- Fixed navbar --&gt;
      &lt;div class="navbar navbar-inverse navbar-fixed-top"&gt;
        &lt;div class="container"&gt;
          &lt;div class="navbar-header"&gt;
            &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse"&gt;
              &lt;span class="icon icon-hammer" style="font-size:30px; color:#3498db;"&gt;&lt;/span&gt;
            &lt;/button&gt;
            &lt;a class="navbar-brand hidden-xs hidden-sm" href="#home"&gt;&lt;span class="icon icon-hammer" style="font-size:18px; color:#3498db;"&gt;&lt;/span&gt;&lt;/a&gt;
          &lt;/div&gt;
          &lt;div class="navbar-collapse collapse"&gt;
            &lt;ul class="nav navbar-nav"&gt;
              &lt;li&gt; &lt;a href="#home" class="smoothScroll"&gt;Home&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#about" class="smoothScroll"&gt; About&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#walkways" class="smoothScroll"&gt; Walkways&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#patios" class="smoothScroll"&gt; Patio's&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#walls" class="smoothScroll"&gt; Walls&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#fireplace" class="smoothScroll"&gt; Fireplace&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#team" class="smoothScroll"&gt; Team&lt;/a&gt;&lt;/li&gt;
              &lt;li&gt; &lt;a href="#contact" class="smoothScroll"&gt; Contact&lt;/a&gt;&lt;/li&gt;
          &lt;/div&gt;
          &lt;!--/.nav-collapse --&gt;
        &lt;/div&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  </code></pre>