slideshow: rm unwanted code