detect mobile accelerometer