MDN's Detecting Device Orientation demo modified to use displacement
calculated via double integration of accelerometer data
Hold the device parallel to the ground. Move along its x and y axes to see the
ball move up/down and left/right respectively.