Fix scroll/size issue in IE8

window.innerHeight doesn't work in IE8 - exchanged for
$(window).height()