Accelerometer - coordinate system transformation
It will call your function each time any motion event gets fired. This can affect the timing of css animations responding to sensor input.  Try getting the orientation values and updating your transformations from within an interval.