Fixed nextTrial and previousTrial