added loading bar to splash screen