// TODO: find out how to reliably frame the active element
window.scrollTo(0, document.activeElement.getBoundingClientRect().top);
// TODO: find out how to reliably frame the active element
window.scrollTo(0, document.activeElement.getBoundingClientRect().top);