A scroll-event-based function every tenth of a second is better than whatever arbitrary timer scroll events can have.