original version
2 initial amendments: collapse bugfix and always open dropdown menu