added margin to pager