Collapse and restore the widget window

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

Collapse the widget window

When the widget is in the collapsed state, and an end-user clicks the restore icon in the widget window, the browser restores the widget window to its original size.