Move the functionality to set and unset mesh edges and elements to https://github.com/mesh-adaptation/animate