else {
      el.style.bottom = 'auto';
      el.style.top = `${rect.bottom - outerRect.top + 5}px`;
    }