Scroll Event triggering

Added a quick fix for triggering scroll event on scroll around line 564, the others diffs are just trailing spaces that sublime cuts automatically.