I need to remove existing class only when scroll is up.
I have tried is as below:
$(window).scroll(function() {    
   var scroll = $(window).scrollTop();
      if (scroll >= 100) {
         // removeClass
      }
})
...but only works when scroll is down.
Any suggestion in this regard? Thanks
 
    