Adding UIScreenEdgePanGesture functionality