I\'ve been creating this simple program to calculate screen width and height when resizing page. It gives the width and height of the page on load as the default but each ti