Position z in Spline animation

I am currently working on my site and I am trying to animate a spline interaction while scrolling into view on position Z. Moving x and Y work but moving z does not work. Any idea what I am doing wrong?

Here is my work