fix accelerometer graph