[library] Add support for scrollbars attribute

Fixes lucasr/twoway-view#24