added comments to bottom-resize behavior