Slide  z-index configurable by option

Added an option to configure the slide z-index.