refreshing only when shown?=#t