ios drag inertia / fall off

Hi i am making a globe which spins as you move your finger across it. I have the code for this thanks to alucardj .

What i want to do now is have the globe continue to spin if the finger flicks across the screen then slow down gradually. Here is the original script:

#pragma strict
 
private var h : float;
private var v : float;
private var horozontalSpeed : float = 2.0;
private var verticalSpeed : float = 2.0;
 
function Update()
{
    if (Input.touchCount == 1)
    {
        var touch : Touch = Input.GetTouch(0);
 
        if (touch.phase == TouchPhase.Moved)
        {
            h = horozontalSpeed * touch.deltaPosition.x ;
            transform.Rotate( 0, -h, 0, Space.World );
 
            v = verticalSpeed * touch.deltaPosition.y ;
            transform.Rotate( v, 0, 0, Space.World );
        }
    }
}

Good artist bad scripter so big thanks for anyone who can point me in the right direction. Havent found the right answer in any posts but apologies if there is

You’ll want to specify the angular drag for the globe. See Rigidbody.angularDrag in the scripting reference. Then modify the code that @Alucardj sent you to specify angular velocity or torque.