Fixed autoplay with loop stoping after first slide