creating common parent for Viewer container