$(document).ready(function() {
  $('.navbar-default .navbar-nav').find('a[href="' + location.pathname + '"]').parents('li').addClass('active-state');

  // Toggles the mobile nav menu
  $(".navbar-toggle").click(function(event) {
    $(".navbar-collapse").toggle('in');
  });

});


@@ -1,8 +1,56 @@
+function shiftWindow() %7B%0A  scrollBy(0, -85);%0A%7D%0A%0A
 $(docume
@@ -318,13 +318,237 @@
 %0A  %7D);%0A%0A
+  // Scroll the page up to prevent the sticky header from covering the content%0A  // being linked to via anchor%0A  if (location.hash) %7B%0A    setTimeout(shiftWindow, 100);%0A  %7D%0A  window.addEventListener('hashchange', shiftWindow)%0A
 %7D);
-%0A
 %0A

Add some JS to prevent sticky header covering content