I'm building a custom collapse navigation. See codepen: http://codepen.io/anon/pen/GZKmaR
The 'nav' element needs to toggle two classNames. If its collapsed (by click), and if its animating(by timeline). Some how, the 'collapsed' class will not be removed if you close the navigation. If i remove the +=animating classnames in the timeline, it will work..
Of course, i can rebuild the HTML and toggle the className on another element to fix this issue, but i dont want that
Does anyone has the same issue and is there a simple fix?