Controlled animation

I am trying to get my ship to move with like 3d motion. For example when I slide my finger up i want the ship to tilt up and when I slide it down it tilts down and when I stop it pops back to just the side view of the ship. Can anyone help me with this i think it would really help bring my game to life.
Comments