docs: function() {
          var screen = this._ui.screen,
              popupHeight = this._ui.container.outerHeight( true ),
              screenHeight = screen.removeAttr( "style" ).height(),
  
              // Subtracting 1 here is necessary for an obscure Andrdoid 4.0 bug where
              // the browser hangs if the screen covers the entire document :/
              documentHeight = this.document.height() - 1;
  
          if ( screenHeight < documentHeight ) {
              screen.height( documentHeight );
          } else if ( popupHeight > screenHeight ) {
              screen.height( popupHeight );
          }
      }