changed default width and height to use window.screen.availWidth/Height