Animating moving rows and inserting new objects into array