fixes in slideshow gallery overlay