Slideshow with image shrinking vertically and horizontally