fix for slideshow border error in Chrome