dynamic sizing of video to match application window size