Add fragment animation.