Reverted "pangesturerecognizer action dispkatch async" commit because  when the pan gesture is detected the transition happens immediately. Therefore the user cannot hold and swipe the top view controller.