Dynamics of Akhmediev breathers in a dispersion-varying optical fiber