Windows scroll event not register

i used this library for navigation between same page.

All is working as seen on demo link. but, scroll event not bind to dom. so, on scroll selection not working as mentioned on demo