Implemented scroll events for GUI components
Used the opportunity to replace reference types by normal types in callback lambdas