 							self.mainViewController.view.alpha = 1
 						}) { [unowned self] _ in
 							v.shadowPathAutoSizeEnabled = true
-							self.animating = false
 							self.layoutSubviews()
 							self.hideView(v)
 					}

							self.mainViewController.view.alpha = 0.5
						}) { [unowned self] _ in
							v.shadowPathAutoSizeEnabled = true
							self.animating = false
							self.layoutSubviews()
							self.showView(v)
					}

			}
			
			if animated {
				v.shadowPath = nil
				v.shadowPathAutoSizeEnabled = false
				
