I borrowed some code to make a functioning scrollbar for a
gallery thumbnail section. I want to tweak its function so that the
content that is being moved by dragging the scrollbar slows to a
stop rather than abruptly stops once the scrollbar dragging stops.
Here is the code that is the functioning of the scrollbar
(scrollface is the instance name of the actual bar that is dragged
and the "this, false, left, top, right, bottom" variables are the
constraints that the bar can move within)