Re- implement Allowing/dissallowing gestures to open/close

Merge up changes for iOS crash and also ability to not push first
UIViewController.