custom layout with smaller inner margins