moving slideshow stuff to css