Added fade transitions for slideshow and layer changes