 			}
 			
 			if animated {
-				animating = true
 				v.shadowPath = nil
 				v.shadowPathAutoSizeEnabled = false
 				

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

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