Attempt at fixing slideshow widget