added transitions for the video div