first iteration of events prototype. scrolling functionality not working as intended.