Add scrolling threshold for animation trigger