added the delay to the splash screen