Here are two different ways:
w1 = wiggle(5,40) – value;
w2 = clamp(w1,[-40,-40],[40,0])
value + w2
w = wiggle(5,40) – value;
value + [w[0],-Math.abs(w[1])]
Either expression will keep the object from moving below its starting point. The first one clamps downward movement, the second one reflects it upward.
Dan