modify photo-grid margin value