     
     private func applyGradientMask(fadeLength: CGFloat, animated: Bool) {
         // Remove any in-flight animations
-        self.layer.mask?.removeAllAnimations()
+        maskLayer?.removeAllAnimations()
         
         // Check for zero-length fade
         if (fadeLength <= 0.0) {

                let gradientMask = self.layer.mask as? CAGradientLayer
                gradientMask?.colors = finalColors
            }
            self.layer.mask?.removeAnimationForKey("setupFade")
            
            // Generate animation if needed
            gradientAnimation = {

    
    private func returnLabelToHome() {
        // Remove any gradient animation
        maskLayer?.removeAllAnimations()
        
        // Remove all sublabel position animations
        sublabel.layer.removeAllAnimations()
