fix bug when refreshing, add animation when disappear