Simplify scrolling logic