background class for animation