Xavier Bartlett took five wickets in the second innings before Jimmy Peirson calmed nerves