Dynamics of pulsing flow in trickle beds