fix plots and broken div
Pull out css into common file