added trial number layer to progress bar