Implement loading bar.