hide empty div during refresh