Tilt not working as expected on Chrome Book

Perhaps use the F.on("orientation", ()=>{}); then if F.orientation == LANDSCAPE switch the values. Ah, yes, makes sense now, the laptop would be landscape where we are expecting portrait - so the x and y can be switched back again.