keep window size mostly the same