fixes slideshows on index pages