removed dropdown function from the jspsych plugin and instead included it in the trial method