add background slideshow functionality