Friction implemented.

This has some bugs, some objects slide farther than they should, and I
believe delta timing has some effect on it.