Added init events for scrollPosition.