Modified way2 for slideshow app to use hover