         alwaysBounceVertical = true
         
         circleLayer.anchorPoint = CGPointMake(0.5, 0.5)
-
+        circleLayer.frame = CGRectMake(0, 0, circleSize, circleSize)
+        
         circleLayer.path = circleCurrentPath().CGPath
         circleLayer.fillColor = circleSelectionColor.CGColor
         circleLayer.zPosition = -1

            
            var index = 0
            let btnWidth = containerView.frame.width / CGFloat(icons.count)
            circleLayer.frame = CGRectMake(icons[0].center.x - circleSize/2 , icons[0].center.y - circleSize/2, circleSize, circleSize)
            for btn in icons {
                btn.frame =  CGRect(
                    x: CGFloat(index)*btnWidth,

                    rightOffset = min(rightOffset, threshold)
                    
                    circleLayer.path = circleCurrentPath().CGPath
                    circleLayer.position = CGPointMake( (icons[iconSelectedIndex].center.x) + leftOffset/4 + rightOffset/4, circleLayer.position.y)

                }
                
