resize drawing boxes