Apply moving to any HTMLElement.