stop main layout add image paperviewer