cleans up display controller and d3 directive, also styles navbar