Adding window animation.