Move in extra functions from ease-scroll-example