added a parameter to the move function so that older moves are animated faster