Hmm, I made an example for you, but I see you have it sorted - great work!
However for the benefit of others I may as well post the capx any way.
It has a simple way and also one using lerp for nice smooth effect. Sorry didn't comment much in the capx. but it's late here in Australia.
Hope this is useful to someone..
[attachment=0:2ylzcobn][/attachment:2ylzcobn]