Slightly buggy acceleration and deacceleration

I know it's spelled wrong :3.