inserBefor method

insert/move an existing element.