画面を回転させてみてください

$(window).on({
	load: function(){
		var text;
		text = (Math.abs(window.orientation) === 90) ? '=' : '||';
		$('#resize').append('<p>'+text+' RESIZE '+text+'</p>');
	},
	orientationchange: function(){
		text = (Math.abs(window.orientation) === 90) ? '=' : '||';
		$('#orientationchange').append('<p>'+text+' ORIENTATIONCHANGE '+text+'</p>');
	}
});