     var leftButtonRightAnchor: NSLayoutConstraint?
     var rightButtonLeftAnchor: NSLayoutConstraint?
     var rightButtonRightAnchor: NSLayoutConstraint?
-    let isInAnimation = Variable(false)
+    let isAnimating = Variable(false)
     
     // MARK: - Overloads
     

    // MARK: - Animations
    
    fileprivate func animateButtons() {
        isInAnimation.value = true
        let isToRight = state == .left
        let leftButtonAnimation = generateCompleteButtonAnimation(aView: leftButton, isToRight: isToRight)
        leftButton.layer.add(leftButtonAnimation, forKey: "leftButtonAnimation")

        }
        leftButton.layoutIfNeeded()
        rightButton.layoutIfNeeded()
        isAnimating.value = false
    }
    
}
