Use requestAnimationFrame for the slideshow timing. Closes #46