Use data attributes to store slideshow options, to enable multiple slideshows to have different settings
Use tabs for indentation everywhere
Fix typo