handle X window size change