Code to display the time slider for all layers with time extents.