         let transY:CGFloat = properties.expand*sin(angleSum)
         
         let translate = CATransform3DMakeTranslation(transX, transY, 0);
-        
+        currentTr = CGPointMake(-transX, -transY)
         
         delegate?.willOpenSliceAtIndex!(cpt)
         openedSlice?.transform = translate

    var originalTransform:CGAffineTransform!

    var pieChartCenter:CGPoint = CGPointZero
  
    override init(frame: CGRect) {
        super.init(frame: frame)

        
        if(openedSlice == slicesArray[cpt].shapeLayer) {
            openedSlice = nil
            oldSelected = -1
            return
        }
        
