So close to working SlideShow, Problem description and Code