slideshow to match topcontainer size