fix time slider to work with overlays and files of unequal timestep