Hide layout when still loading.