Added a limit to the number of timesteps that can be displayed