added show/hide button for timeseries