Adjust window size.