Animated fragments and background color change