updated window dimensions