fix accelerometer for tablets