Fix animations when inserting and deleting notes.