docs: function () {
              var config = scope.getConfig();
              this.config = config;
              // shortcut references to jq DOM objects
              this.$el = config.$el;
              this.$doc = config.$doc;
              this.$viewport = config.$viewport;
              this.$pages = config.$pages;
              this.numPages = config.numPages;
  
              // add the layout css class
              this.layoutClass = CSS_CLASS_LAYOUT_PREFIX + config.layout;
              this.$el.addClass(this.layoutClass);
  
              this.initState();
          }