More refinement of slideshow fns