Added fade in and fade out feature