Pass element that triggered smoothScroll to callbacks

Changed code so that DOM element that triggered smoothScroll is passed to callbacks. You can now write conditional code in the callback based on which element triggered the scroll. An example would be to focus an input after scrolling to it's container.