optimize slightly
get deviceOrientation working for tilt leftright