added slideshow and detect if has events sidebar