Scaling images properly and un-overlaid captions in slideshow