Javascript Jquery Window Resize Issue Height Width Calculation

Javascript Jquery Window Resize Issue Height Width Calculation