Putting d3 layer back where it was before