Add elem.style.position = fixed