title: Modify page scroll after url hash navigation is done
body: <p>I need to account for navbar size after the page has loaded if a hash id has been passed in url e.g. <code>example.com#id-of-some-element</code></p>
  
  <p>I am trying to use the following:</p>
  
  <pre><code>$(document).ready(function(){
      if(window.location.hash){
          $(window).scrollTop($(window).scrollTop() - 80);
      }
  });
  </code></pre>
  
  <p>However <code>$(window).scrollTop()</code> in this case always returns <code>0</code>.<br>
  This leads me to think that <code>.ready</code> fires before the navigation to the hash id has been done.</p>