make PanelNode resize dynamically to match its content (#1)