Fix to ensure collapse class is put back in non-responsive mode