Add an `isScrolling` Boolean property to track scrolling state