Implemented basic animation and fade animation.