     
     func walkthroughDidScroll(position: CGFloat, offset: CGFloat) {
         
-        for index in 0..<subsWeights.count {
+        for index in 0..<subviewSpeeds.count {
             
             //  perform transition / scale / rotate animations
             switch WalkthroughAnimationType.fromString(animationType) {

    }
    
    
    // MARK: Animations (WIP)
    
    private func animationAlpha(index: Int, var _ offset: CGFloat) {
        let cView = view.subviews[index] as! UIView
        
        if (offset > 1.0){
            offset = 1.0 + (1.0 - offset)
        }
        
        cView.alpha = (offset)
    }
    
    private func animationCurve(index:Int, _ offset:CGFloat){
        var transform = CATransform3DIdentity
        var x:CGFloat = (1.0 - offset) * 10
        transform = CATransform3DTranslate(transform, (pow(x,3) - (x * 25)) * subsWeights[index].x, (pow(x,3) - (x * 20)) * subsWeights[index].y, 0 )
        view.subviews[index].layer.transform = transform
    }
    

    private func animationLinear(index:Int, _ offset:CGFloat){
        var transform = CATransform3DIdentity
        var mx:CGFloat = (1.0 - offset) * 100
        transform = CATransform3DTranslate(transform, mx * subviewSpeeds[index].x, mx * subviewSpeeds[index].y, 0 )
        view.subviews[index].layer.transform = transform
    }
    
