adding z index and image slideshow