Change lifecycle ui hide handling in Slideshow