make slideshow optional and root path configurable