isScrolling is not a variable and certainly doesn't need to be passed to the callback