Added a collapseAll operation for keyboard support for navigation.