[Source File inside] How can I make an object hover once it hits the ground?

Hey all,

I’m trying to make an object (the orange ball) hover, or come to a halt (as in ease in tweening) once it hits the ground (the white rectangle).

When in contact with the ground, it currently bounces:
yv-=4;

When I make yv=0; it comes to a sudden rather than a smooth stop and also messes up with the movement of the ball.

I would really, really appreciate your help.
Thanks in advance,
Pes