resize on component list change