added margin to viewData list