some minor updates to pano.js