Timing Mechanisms Underlying Gate Control by Feedforward Inhibition.