adjust audio and video layout