add accelerometer offset