okay resizing of boxes with window