controls.js: use panorama.callback instead of ready