jquery cycling through images
<p>I have a page where I cycle through the images on the page using this code: </p>

<pre><code>$('#summaryContainer img:gt(0)').hide();
    setInterval(function(){
        $('#summaryContainer :first-child').fadeOut(summary.speed)
            .next('img').fadeIn(summary.speed)
            .end().appendTo('#summaryContainer');}, 
      summary.pause);
</code></pre>

<p>Works fine...until, you leave the page and come back. Then before the cycle begins it flashes the last image, then goes to the first. Any idea what is causing that? </p>
