I don't have any complicated layout..
but anyways..
I am getting error is this.$cache being undefined when code renders viewport.


setVisibilityMode: function(mode) {
this.$cache.data.visibilityMode = mode; => this.$cache is undefined
return this;
}