change class prefix and improve the slideshow