Added better support of off-view pans