y <= 0.05) {
              clearInterval(fade_out);
              element.style.opacity = 0;
              element.style.filter = `blur(4px)`; // max blur again when fully hidden
              resolve();
            } else {
              currentOpacity -= 0.05;
              element.style.opacity = currentOpacity;
              let blurAmount = (1 - currentOpacity) * 4;
              element.style.filter = `blur(${blurAmount}px)`;
            }
          }, time_per_increment);
        });
      }

      /