When the widget instance is in the state of its original size, and an end-user clicks the collapse icon, the browser collapses the widget body and only leaves the head of the widget instance window.
When the widget instance is in the collapsed state, and an end-user clicks the restore icon in the widget instance window, the browser restores the widget instance window to its original size.