Fix stickyness of force layout.

Had to update d3 to version 3.