Reimplement slideshow with CSS animations