reducing window size