adds animation for video container