add loading progress when changing category