, handleKeyUp)
          window.removeEventListener('mousedown', handleMouseDown)
          window.removeEventListener('mousemove', handleMouseMove)
          window.removeEventListener('mouseup', handleMouseUp)
          window.removeEventListener('wheel', handleWheel)
          window.removeEventListener('touchstart', handleTouchStart)
          window.removeEventListener('touchmove', handleTouchMove)
          window.removeEventListener('touchend', handleTouchEnd)
        })

        window.addEventListe