Add screen-edge-pan-gesture and dynamically switch between it and regular pan-gesture.