fixing the slideshow narrow width issue