Fix 1 slide slideshow error

Slides fails if there's only 1 slide.
This will fix that issue.