comments for clamping scroll offsets