adding fading effect for a smoother transition between slides