On the role of reverse current on the hard X-ray production in solar flares and time-lags between high- and low-energy photons