trying to call the panorama view in a loop until we get a valid one (not working)