center video-container and added resize event