             transform.m34 = -1.0 / 500.0
             transform = CATransform3DRotate(transform, CGFloat(M_PI_4) * percent, 0, 1, 0)
             if attribute.indexPath.section != 0 {
-                if percent >= 0.7 {
+                if percent >= 0.5 {
                     attribute.alpha = 1
                 } else {
                     attribute.alpha = attribute.alpha*percent

                
            }
            
            attribute.transform3D = transform
            
            layoutAttributes.append(attribute)
        }
        return layoutAttributes
        
    }

    required init?(coder aDecoder: NSCoder) {
        super.init(coder: aDecoder)
        itemSize = CGSize(width: 300, height: 300)
    }
    
    override func prepare() {
