Fix for slideshow, propagate the "class" argument