scrollEvent was missing var

I've tested it on my website and it works now. Hope this helps and thanks for the script.