Added scrollToElement support.