work on date display functions
optim : do not remove children when closing a layer