This is an implementation of scroll physics inspired by iOS. You can drag the red ball around inside the dark square. If you drag it outside the dark bounds it will get pushed back. If you drag it fast and release the mouse it keeps its momentum and decelerates slowly.
