made the color window size adjustable