Effect of non Markovian dynamics on Barrier crossing dynamics of a charged particle in presence of a magnetic field