I had a similar problem. I was using this auto-reveal sticky header navigation plugin in combination with this pure CSS3 parallax scroll plugin.
The:
window.addEventListener('scroll', function(){
//do something
});
was not firing the function on scroll because of the css:
html {
overflow: hidden;
}
but body's overflow-y property had the value of auto and was thus scrollable. So I just amended the event listener to listen to the body instead:
document.body.addEventListener('scroll', function(){
//do something
});