added transitioning line graph, set up for generalized number of time slices, with update function