An efficient overflow area with custom scrollbars
Heavily influenced by Trackpad Scroll Emulator, but with support for both directions, without the need to call update on size changes or to wrap the elements in a container and without a nasty jQuery dependency.
You also can style the scrollbars yourself by overriding the .scrollbars-handle
style.
$ component install Swatinem/scrollbars
var scrollbars = require('scrollbars');
var scroller = scrollbars(document.querySelector('#yourcontainer'));
// if you are done with it:
scroller.destroy();
LGPLv3