Timing fix when dismissing in viewWillDisappear
Timing fix when dismissing in viewWillDisappear

* if animated is false instantly call functions.
* ensure no 0.0s animation is being used, as it can lead to UI glitches
* Especially fixes issue with dismissing in viewWillDisappear and scrollView contentInset in the pushed viewcontroller
jaydee3/JDStatusBarNotification,calimarkus/JDStatusBarNotification,calimarkus/JDStatusBarNotification