Fix Incorrect Sliding Behavior

Closes #3.