small updates to resize behavior