preview window size updated