Demo using the Device Orientation API