Still I have a bit thinking to do.
As I work on a CMS that the user allows to choose the menuposition (left, horizontal maybe multiple menus) I have to check it out deeper.
In the left-menu in desktop-mode I want the menu stay expanded and active.
On mobile view the menu should disapear after the selection.
Your code will help me and point the direction.