disable slideshow if there is only one slide