Got the scaling worked out in pan and zoom mode!