Problem with changing parameter in dynamic material

I added TimeWithSpeedVariable, but is there anyway to overcome the animation reversal when you change the values?