change "elem.style.marginTop='10px';" from 150px