Added accelerometer support back

Maybe