smooth acceleration working
acceleration and deceleration working