title: When using setInterval, if I switch tabs in Chrome and go back, the slider goes crazy catching up
body: <p>I have a jQuery slider on my site and the code going to the next slide is in a function called nextImage. I used setInterval to run my function on a timer, and it does exactly what I want: it runs my slides on a timer. BUT, if I go to the site in Chrome, switch to another tab and return, the slider runs through the slides continuously until it 'catches up'. Does anyone know of a way to fix this. The following is my code.</p>
  
  <pre><code>setInterval(function() {
  nextImage();
  }, 8000);
  </code></pre>