Add fadeIn and fadeOut effects