window.oriention is unreliable on android devices. Now it just compares the width/height of the window.