Changed to work with scroll-events

Changed to work with scroll-events, following the new implementation of
Back Alley Coder.
resize event name fix