Finalized the animate function with New Vector Map