Added animation while adding and removing SVG elements to body