Used the new screen edge pan gesture recognizer instead of just a plain pan gesture recognizer.