Simplify scroll logic