Including the disable-nav
extension and setting disableNav: true
in the initialization options will add a disabled
class to nav items upon reaching the start/end of a Sidescroller region, for styling purposes.
overthrow.sidescroller( document.querySelectorAll( ".overthrow-enabled .sidescroll-nextprev" ), { disableNav: true });