docs: function handleWidgetVisibilityChange( newVisible, previousVisible ) {
                 widgetIsVisible = newVisible;
                 if( newVisible && previousVisible === false && showContent && options.animationsEnabled ) {
                    startWatchingForContentResizing();
                 }
                 else {
                    stopWatchingForContentResizing();
                 }
              }