"bouncing" scrollbar

Hi, I’m trying to create a slider/scroll bar similar to the one at this site: kurtnoble.com. If you’ll notice, the scroll bar can “bounce” of its perimeters. I’m not very experienced with actionscript at all. so any guidance, help, etc. would be greatly apprectiated.

well, I’m not sure right off hand how to do it, but I can tell you it deals with if/then statements dealing with it’s position…such as, if (_root.bar._x < 88 && _root.bar._x > 77)

something to that effect would find out if it’s between so and so or so and so, if it’s closer to lets say 88, then you’d maybe do a command that makes it move TO 88.

some thing like
http://www.kirupa.com/developer/actionscript/gravity.htm
But without the gravity and is contrained
if you know what i mean