Switch border and background colors in grid