Adding a scale and background-color transition when cells change type.