e.height = thumbHeight + 'px';
  thumb.style.right = (scroller.clientWidth - scroller.getBoundingClientRect().width) + 'px';

  thumb.style.transform = `
    matrix3d(
      1, 0, 0, 0,
      0, 1, 0, 0,
      0, 0, 1, 0,
      0, 0, 0, -1
    )
    scale(${1/factor})
    translateZ(${1 - 1/factor}px)
    translateZ(-2px)
  `;
</script>
