Mouse pan with variable speed

Hi there

I am trying to do something quite simple but i am stuck. I have a huge object on screen and i want to do a mouse pan effect. But the panning speed will vary depending on the mouse distance from the center. e.g. the more left you get the mouse the faster it should move.
Hope this is clear.