window size changed
sync with master