Fix container to show correct content when transitioning
Only update colors when value actually changed