adds collapsibility to mobile menu