Dual state menu

I have started to create a simple menu that incorporates two states. It utilises both an accordion and a flyout - not at the same time though. Just JavaScript, html5 and css3, none of that jQuery stuff polluting it.

You can see a plunk of it at the end of this link. Feel free to edit and make better, but please tell me if you do ;-)