spplit the viewer into an osg nodekit and viewer