fleshing out slideshow js more