remove loader when view is rendered