Fix for Firefox.

On FF, even though the DeviceOrientationEvent is present, the actual event is never fired. So now there is a flag that uses a timeout to check it the event was fired and if not reverts to MouseMove.