improve slideshow css and template