Improve behavior with others types of layer + manage time parameter in permalink