Added the scrollToTop function in Dom module