+ if (this.options.tohide) {
+ this.hiddenstyles = this.options.tohide.getStyles(
+ 'display'
+ );
+ this.options.tohide.setStyles({
+ display: 'none'
+ });
+ }
+ this.bodystyles = document.body.getStyles(
+ 'overflow', 'overflow-x', 'overflow-y'
+ );
+ document.body.setStyles({
+ overflow: 'hidden',
+ 'overflow-x': 'hidden',
+ 'overflow-y': 'hidden'
+ });
+ this.position();