split mainwindow depending on controllers signals