function updateHintFocus(key) {
		let nextHint;
		let activeHint = $ul.get(".active");
		if (!activeHint) activeHint = $ul.firstChild;

		if (key === "ArrowDown") {
			nextHint = activeHint.nextElementSibling;
			if (!nextHint) nextHint = $ul.firstElementChild;
		} else if (key === "ArrowUp") {
			nextHint = activeHint.previousElementSibling;
			if (!nextHint) nextHint = $ul.lastElementChild;
		}

		if (nextHint) {
			activeHint.classList.remove("active");
			nextHint.classList.add("active");
			nextHint.scrollIntoView();
		}
	}
Moves the active hint up or down
@param {"ArrowDown" | "ArrowUp"} key Direction to move