title: window.location.hash - stop reload in chrome
body: <p>I have the following problem:</p>
  
  <pre><code>$('.gotoservices').click(function(){
      $('html,body').scrollTo($("#services"),1000);
      window.location.hash = "services";
      return false;
  });
  </code></pre>
  
  <p>This code works but for some reason the page flashes before the <code>scrollTo</code>.</p>
  
  <p>If I remove the <code>window.location.hash</code> line the <code>return false;</code> works and the page doesn't flash/flicker.</p>
  
  <p>I have tried <code>e.preventDefault</code> - doesn't work</p>
  
  <p>I'm struggling to find any work around.</p>
  
  <p>Cheers</p>