added preloader to prevent fouc