When loaded the active class is not in proper location, it's because this is not coded in to treebeard.
Need to make changes herE:
if (ctrl.options.paginateToggle) {
return m('.btn-group.padder-10', [
m("button.btn.btn-default.btn-sm.active.tb-scroll",
{ onclick : ctrl.toggleScroll },
"Scroll"),
m("button.btn.btn-default.btn-sm.tb-paginate",
{ onclick : ctrl.togglePaginate },
"Paginate")
]);
}

When loaded the active class is not in proper location, it's because this is not coded in to treebeard.
Need to make changes herE: