Change how slideshow works to avoid extra http requests