Added paneSwitchingEnabled property