android accelerometer improvements