add container subwindow and centering in fullscreen mode