manage loading bar in individual controllers.