Firefox fix.

Added another flag to test if the deviceorientation event is ever fired. On Firefox (at least on a Mac) it seems that the orientation event objects are there, but the event itself is never fired - so the test in the code based on "this.desktop" property never executes since that function is never invoked.