added delay before dismissing loading screen