title: How to toggle auto scroll function / reverse page scroll?
body: <p>I have a website with one big horizontal div. It automatically scrolls vertically and horizontally onload (I used this javascript as discussed here: <a href="https://stackoverflow.com/questions/9837676/smooth-auto-scroll-by-using-javascript">smooth auto scroll by using javascript</a>):</p>
  
  <pre><code>function pageScroll() {
      window.scrollBy(10,-10); // horizontal and vertical scroll increments
      scrolldelay = setTimeout('pageScroll()',100); // scrolls every 100 milliseconds
  }
  </code></pre>
  
  <p>What I would like to know but can't figure out: is it possible to toggle this function? I would like that once the page automatically scrolled to the end of the page, that it goes back up and back to the left again. So that it goes back and forth, up and down forever.</p>
  
  <p>All help is very appreciated, thanks in advance!</p>