Do not display the slider, if there are no images.