refactor event to use this and add scroll event to multiple selectors.