reconfigure window size to fit the default screen layout