color fading now working smoothly with d3.js