Adds the ability to pass the element to listen to for scroll events into navbar.
v0.2.0