eraser animation when delete is clicked