FIXED THE SLIDING BUG\!\!\! I think.
Merge pull request #194 from zackthehuman/master

Fixed various bugs dealing with sliding.