make movie function used to make data scrolling