added "legacyScrollbars" option