ensure the ordering of webBrowser and videoViwer