update d3 div positions