Manipulate DOM based on scroll thresholds.