title: JS code stops when I jump to another page
body: <p>I'm trying to get this to work:</p>
  
  <pre><code>window.location.href='tsa.html#tile4';
  document.body.scrollTop -= 100;
  </code></pre>
  
  <p>It is trying to jump to a new page at a certain position then scroll up a bit.
  But it seems the second half doesn't work because the browser jumps away.
  Any simple fixes?</p>