Callbacks, events and class toggling based on scroll events