adjust d3 layout