Set up window sizes correctly