Prevent slideshow when one or less slides