window size change in search