Adding ability to override document/window context; enables nanoScroller inside iframes