Added FadeIn and FadeOut animations.