         label.alignmentMode = kCAAlignmentCenter
         label.foregroundColor = titleColor.CGColor
         label.contentsScale = UIScreen.mainScreen().scale
+        label.shouldRasterize = true
+        label.rasterizationScale = UIScreen.mainScreen().scale
+        label.contentsScale = UIScreen.mainScreen().scale
         
         return label
     }

        
        let circleLayer: CALayer = CALayer()
        circleLayer.frame = CGRectMake(CGRectGetMidX(frame) - height/2, 0, height, height)
        circleLayer.cornerRadius = height/2
        circleLayer.backgroundColor = fillColor.CGColor
        
        return circleLayer
    }

    }
    
    // MARK: animations
    private func animateCircleBorder(layer: CAShapeLayer) {
        let animationKey = "strokeEnd"
        let animation: CABasicAnimation = CABasicAnimation(keyPath: animationKey)
