when resizing take window size -15px