Fixing scroll events