Now adds classes based on which scrollbars are visible.