How to use jquery properly

I have built my first site with roots, which is
On the front I have a big list with logos ( which are categories for custom post type ‘wheels’ ).

I would like to be able to expand that list like I do on

I have added general.js (which holds the code which works on and to assets/js/plugins. The script is minified with grunt.

I have added it to to test it out.
The bar expands but collapses right away again.

Is there a script somewhere in roots which makes it collapse again immediately ?

This has absolutely nothing to do with Roots; you’ve added your script twice, once in the head and once again in scripts.min.js.

In future please try to debug your code before asking for support here.