fix: collapse menu only when available