Added IE 8,9 support. Removed height unit. Set listener to window.