if set autoResize option, slideshow width is always 100%