Hide all timeline elements if an errorMessage is displayed