Fixes #1; friction can't accelerate in opposite direction anymore.