scrollEvent was missing var