Modified to auto-collapse btn-toolbar