Put Viewer in a resizable rectangle.