getting acceleration to work correctly. need slow_factor to go back to default when x_mag is zero or start of trail