finished the slide show component