resize d3 window