- window dimensions are no longer a global variable