revised grid padding adjustment thing to calc paddion on rgrid container