fixed porfolio widget issue and made change to d3 demo