Fix child menus for touch devices

Add the ability to click on the parent once to access submenus, twice
to access the parent item. Props @iamtakashi for the original fix.
classList [isn't supported in IE9](http://caniuse.com/#feat=classlist) unfortunately, the usage stats look fairly low for that browser, but it might be worth using the classname.indexof method.