leaflet: Ensure folding and unfolding animations behave similarly
Currently, folding and unfolding animation slightly differ and children may appear to "jump" when switching between the two animations (when foldingand-unfolding while animation is still running).