Manipulate DOM elements based on scroll thresholds.