On iPhone (at least ios8), if we animate stuff as the user is leaving the page (for example he clicked a link), when the user press the "back button", he come to the page and the previous state or the webpage with the style property changed by animation stay there.
It looks like Safari doesn't reload the page, but cache the DOM state and just rerender it or something.
Anyone know workaround this behavior? Or have links to relevant documentation describing the behavior?