Fading in and fading out are implemented.