A CodePen by first-developer. Compute window size on resizing  - Code use to compute window size when the browser is resizing