remove loader after page refresh