fix for screen rotate in Firefox OS