Reattach elements at their original location