adding fade-to, fade-in and fade-out transitions