Currents and associated electron scattering and bouncing near the diffusion region at Earth's magnetopause