override func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration: TimeInterval) { UIView.setAnimationsEnabled(false) }
override func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) {
UIView.setAnimationsEnabled(true)
}