center-margin css class and updates