You are setting the listener on the window object rather than the element which is scrolling.
Give the group that scrolls an id = navbarGroup.
and you also probably should use ‘scrollTop’ instead of scrollY
var navbar = hypeDocument.getElementById('navbar');
var navbarGroup = hypeDocument.getElementById('navbarGroup');
navbar.style.position = "fixed"; // fixed position for Navbar group
navbarGroup.addEventListener('scroll', function (e) {
hypeDocument.goToTimeInTimelineNamed(navbarGroup.scrollTop * 0.01, 'animation')
});