Add homepos method to viewerwidget