code: function TransformTo(element_from, element_to, duration = 500, easing = Animation.easing.linear, HIDE_OTHER) {
      let rect = element_from.getBoundingClientRect();
      let cs = window.getComputedStyle(element_from, null);
      let margin_left = parseFloat(cs.getPropertyValue("margin"));
  
      let seq = Animation.createSequence({
          obj: element_from,
          width: { value: "0px"},
          height: { value: "0px"},
          backgroundColor: { value: "rgb(1,1,1)"},
          left: [{value:rect.left+"px"},{ value: "0px"}],
          top: [{value:rect.top+"px"},{ value: "0px"}]
      });
  
      if (!element_to) {
  
          let a = (seq) => (element_to, duration = 500, easing = Animation.easing.linear,  HIDE_OTHER = false) => {
              setTo(element_to, seq, duration, easing);
              seq.duration = duration;
              return seq;
          };
  
          return a(seq);
      }
  
      setTo(element_to, duration, easing);
      seq.duration = duration;
      return seq;
  }
docs: Transform one element from another back to itself
  @alias module:wick~internals.TransformTo