Attempt to improve slideshow by preloading images