implemented switch to animate the display of total and normalized data