Adjust sticky scrolling logic to allow for snapping to specific location.