Registers an event listener for orientation sensor data and displays the rotation data as it is reported.