Pass element that triggered smoothScroll to callbacks