Move out extra functions to ease-scroll