Changes for window size.